package com.zhuzhoujia.fact;

import com.example.zhuzhoujia.R;
import com.zhuzhoujia.activityparent.ActivityParent;

import android.app.ActionBar;
import android.os.Bundle;

public class PopFactActivity extends ActivityParent {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.pop_fact);
		ActionBar actionBar = this.getActionBar();
		actionBar.setDisplayShowHomeEnabled(false);
		actionBar.setBackgroundDrawable(getResources().getDrawable(R.color.green));
		actionBar.setDisplayShowTitleEnabled(true);
		setStatusBarTintResource(this, R.color.green);
		actionBar.setCustomView(R.layout.pop_fact_actionbar);
		actionBar.setDisplayShowCustomEnabled(true);
	}
}
